using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN UserRoleEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:23/09/2010 33:09:56</para>
	/// <para>Class Name: UserRoleEntityBase</para>
	/// <para>Description: ClassUserRoleEntityBase store data of table UserRole</para>
	///</summary>

	[DataContract]
	public  class UserRoleEntityBase{


		private bool _InternalChangedIsNullUserRole_ID=true;
		private bool _IsNullUserRole_ID=true;
		private bool _InternalChangedIsNullUser_ID=true;
		private bool _IsNullUser_ID=true;
		private bool _InternalChangedIsNullRole_ID=true;
		private bool _IsNullRole_ID=true;
		private int _UserRole_ID;
		private int _User_ID;
		private int _Role_ID;
		[DataMember]
		public bool IsNullUserRole_ID{
			get{return _IsNullUserRole_ID;}
			set{if(!_InternalChangedIsNullUserRole_ID)_IsNullUserRole_ID=value;}
		}
		[DataMember]
		public bool IsNullUser_ID{
			get{return _IsNullUser_ID;}
			set{if(!_InternalChangedIsNullUser_ID)_IsNullUser_ID=value;}
		}
		[DataMember]
		public bool IsNullRole_ID{
			get{return _IsNullRole_ID;}
			set{if(!_InternalChangedIsNullRole_ID)_IsNullRole_ID=value;}
		}
		[DataMember]
		public int UserRole_ID{
			get{return _UserRole_ID;}
			set{
				_UserRole_ID=value;
				if(_UserRole_ID!=null){
					_IsNullUserRole_ID=false;
					_InternalChangedIsNullUserRole_ID=true;
				}
			}
		}
		[DataMember]
		public int User_ID{
			get{return _User_ID;}
			set{
				_User_ID=value;
				if(_User_ID!=null){
					_IsNullUser_ID=false;
					_InternalChangedIsNullUser_ID=true;
				}
			}
		}
		[DataMember]
		public int Role_ID{
			get{return _Role_ID;}
			set{
				_Role_ID=value;
				if(_Role_ID!=null){
					_IsNullRole_ID=false;
					_InternalChangedIsNullRole_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END UserRoleEntityBase*****************************************/
	/*****************************************************************************************************/
}

